#include <stdio.h>

int f()
{
  int a;
  a++;
  printf("&f()::a\t%p\n",&a);
  int b = (int)&a;
  return b;
}

void g()
{
  int a;
  a++;
  int b = f();
  int c = (int)&a;
  printf("&g()::a\t%p\n",&a);
  if(c>b)
    puts("stack grow to lower address");
  else
    puts("stakc grow to upper address");
}

int main()
{
  g();
  return 0;
}
